package java_1_10.animal;
import java_1_10.animal.Animal;
public class Dog extends Animal {
    public Dog(String name) {
        super(name);
    }
     void eat(String food){
        System.out.println("狗狗"+this.name+"正在吃"+food);
    }
}
